/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package EDT.obj;

/**
 *
 * @author ali
 */
public class Session {
    
    private String key;
    private String nom;
    private String prenom;
    private String message;
    private int idi;
    private String type;

    public Session(String key, String nom, String prenom, int idi,String msg,String type) {
        this.key = key;
        this.nom = nom;
        this.prenom = prenom;
        this.idi = idi;
        this.message = msg;
        this.type = type;
    }
    
    public Session(String msg) {
        this.message = msg;
    }

    public String getType() {
        return type;
    }

    
    
    public String getKey() {
        return key;
    }

   

    public String getNom() {
        return nom;
    }

    

    public String getPrenom() {
        return prenom;
    }



    public int getIdi() {
        return idi;
    }

 
    public String getMessage() {
        return message;
    }


    
    
}
